package com.wtwd.campus.model.dto;

import com.wtwd.campus.entity.AppDisableTime;
import com.wtwd.campus.entity.MqAppDisableTime;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author mjy
 * @date 2022/12/19
 * @description
 */
public class SetAppDisableDto {

    @ApiModelProperty(value = "imei", required = true)
    private String imei;

    @ApiModelProperty(value = "包名", required = true)
    private String packageName;

    @ApiModelProperty(value = "app禁用开关0代表关闭禁用,1代表打开禁用", required = true)
    private int appFlag;

    @ApiModelProperty(value = "时间段组")
    private List<AppDisableTimeDto> mqAppDisableTimes;

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public int getAppFlag() {
        return appFlag;
    }

    public void setAppFlag(int appFlag) {
        this.appFlag = appFlag;
    }

    public List<AppDisableTimeDto> getMqAppDisableTimes() {
        return mqAppDisableTimes;
    }

    public void setMqAppDisableTimes(List<AppDisableTimeDto> mqAppDisableTimes) {
        this.mqAppDisableTimes = mqAppDisableTimes;
    }

    @Override
    public String toString() {
        return "SetAppDisableDto{" +
                "imei='" + imei + '\'' +
                ", packageName='" + packageName + '\'' +
                ", appFlag=" + appFlag +
                ", mqAppDisableTimes=" + mqAppDisableTimes +
                '}';
    }
}
